﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vmago.Models
{
    interface IShopProduct
    {
        IEnumerable<ShopProduct> getShopProduct(int shopID);
        IEnumerable<ShopProductImage> getShopProductImage(int shopID, int productID);
        int createShopProduct(int shopID, int productType, string productName, string description, decimal price, int grade, int language);
        int updateShopProduct(int shopID, int productType, string productName, string description, decimal price, int grade, int language, int productID);
        int deleteShopProduct(int productID);
        int createShopProductImage(int shopID, int productID, int imageType, string fileName, int type, string description);
        int updateShopProductImage(int imageID, int shopID, int productID, int imageType, string fileName, int type, string description);
        int deleteShopProductImage(int imageID);
        IEnumerable<ShopProductImage> getShopProductImage(int shopID);
    }
}
